package com.olddriver.crm.mapper;

import com.olddriver.crm.domain.TotalInfo;
import com.olddriver.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface TotalInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TotalInfo record);

    TotalInfo selectByPrimaryKey(Long id);
    void  updateTotalFee(@Param("totalFee") BigDecimal totalFee , @Param("sn") String  sn);

    List<TotalInfo> selectAll();

    int updateByPrimaryKey(TotalInfo record);

    int queryTotal(QueryObject qo);

    List<TotalInfo> queryRows(QueryObject qo);
}